  <ui:composition template="/templates/layout.xhtml"
     xmlns="http://www.w3.org/1999/xhtml"
     xmlns:f="http://java.sun.com/jsf/core"
     xmlns:h="http://java.sun.com/jsf/html"
     xmlns:ui="http://java.sun.com/jsf/facelets"
     xmlns:p="http://primefaces.org/ui"
         
     xmlns:c="http://java.sun.com/jsp/jstl/core">
<ui:define name="content"> 
       
<h:form>   
    <p:growl id="growl" showDetail="true" />
    <p:fieldset legend="Logiciel" toggleable="true" toggleSpeed="500">
    <h:panelGrid columns="2" cellpadding="10">
        <p:graphicImage value="/Categories/images/logiciel.jpg" />
        <p align="right" > Référence=111 </p>
        <p:commandButton update="growl" action="#{produitController.find}" value="Ajouter au panier" />  
    </h:panelGrid>
    </p:fieldset>   
    <p:fieldset legend="Appareil électronique" toggleable="true" toggleSpeed="500">
        <p:ajax event="toggle" listener="#{fieldsetBean.handleToggle}" update="growl" />
        <h:panelGrid columns="2" cellpadding="10">
            <p:graphicImage value="/Categories/images/electronique.jpg" />
            <h:outputText value=" "/>;
            <p:button outcome="/index.xhtml" value="Inscription" icon="ui-icon-star"/>       
       </h:panelGrid>
    </p:fieldset>      
    </h:form>
     </ui:define>
  </ui:composition>